<?php

// @formatter:off
/**
 * @file rules.php
 * @author Alejandro Dario Simi
 * @date $Date: 2014-05-04 01:33:52 +0000 (Sun, 04 May 2014) $
 *
 * $Id: rules.php 111 2014-05-04 01:33:52Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/trunk/config/rules.php $
 */
// @formatter:on
/*
 * TARE: @{
 */
$wcRuleHooks[WCTagsRelator::$TYPE] = /* array_merge($extensionBasicInfo, */array(
	"name" => "Tags Relator",
	"description" => "Enforce relation between tags",
	"class" => "WCTagsRelator",
	"conficts" => "WCTagsRelator::MarkConflicts",
	"lock-tags" => "WCTagsRelator::LockedTagIds"
	)/* ) */;
/* @} */
/*
 * DOR: @{
 */
$wcRuleHooks[WCDirectoryOrganizer::$TYPE] = /* array_merge($extensionBasicInfo, */array(
	"name" => "Directory Organizer",
	"description" => "Organize directories tags and contents",
	"class" => "WCDirectoryOrganizer",
	"conficts" => "WCDirectoryOrganizer::MarkConflicts",
	"lock-tags" => "WCDirectoryOrganizer::LockedTagIds",
	)/* ) */;

$wcCronProfiles["DOR"] = array(
	"rules.run",
	"activetags.run",
	"lists.update",
	"previews.update"
);

if(defined("__CRON__")) {
	WCActiveTagDirectoryMover::GenActiveTagsHooks();
}
/* @} */
